package cn.zhoujing.security.demo.controller;

import cn.zhoujing.security.demo.common.api.CommonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhoujing
 * @createTime 2024/2/18 - 2:36
 */
@RestController
@RequestMapping(value = "/admin")
public class AdminController {

    @GetMapping(value = "/list")
    public CommonResult<String> list() {
        return CommonResult.success("ADMIN_LIST");
    }

}
